package com.thb.pay.service.impl;

import com.thb.pay.db.service.impl.BaseServiceImpl;
import com.thb.pay.entity.ScheduleJobLogEntity;
import com.thb.pay.mapper.ScheduleJobLogMapper;
import com.thb.pay.service.ScheduleJobLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("scheduleJobLogService")
public class ScheduleJobLogServiceImpl extends BaseServiceImpl<ScheduleJobLogMapper, ScheduleJobLogEntity> implements ScheduleJobLogService {

    @Autowired
    private ScheduleJobLogMapper scheduleJobLogMapper;


    @Override
    public List<ScheduleJobLogEntity> queryList(Map<String, Object> map) {
        return scheduleJobLogMapper.selectByMap(map);
    }


    @Override
    public boolean save(ScheduleJobLogEntity log) {
        return super.save(log);
    }

}
